package yunquan.wang.modules.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yunquan.wang.base.dao.springdata.BaseRepository;
import yunquan.wang.base.service.impl.BaseServiceImpl;
import yunquan.wang.modules.base.dao.LoginfoDao;
import yunquan.wang.modules.base.entity.Loginfo;
import yunquan.wang.modules.base.service.LoginfoService;
/**
 *  Loginfo Service层 实现
 *  @author 王云权  wangyunquan@gmail.com
 *  用生成器 生成于 2011-09-30 22:37
 *
 */
@Service("loginfoService")
@Transactional
public class LoginfoServiceImpl extends BaseServiceImpl<Loginfo>
		implements LoginfoService {
	private LoginfoDao loginfoDao;

	@Resource(name="loginfoDao")
	public void setDao(LoginfoDao loginfoDao) {
		this.loginfoDao = loginfoDao;
	}

	public BaseRepository<Loginfo, String> getDao() {
		return loginfoDao;
	}

}
